package com.woniu.new_orange.service_model_gao.service.impl;

import com.woniu.new_orange.entity.CustomerServiceEvaluation;
import com.woniu.new_orange.mapper.CustomerServiceEvaluationMapper;
import com.woniu.new_orange.service_model_gao.service.CustomerServiceEvaluationService;
import com.woniu.new_orange.service_model_gao.vo.CustomerServiceEvaluationVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Program: new_orange->CustomerServiceEvaluationServiceImpl
 * @Description:
 * @Author: gao chaozhe
 * @Date: 2023-02-09 17:22
 * @Version： 1.0
 **/
@Service
public class CustomerServiceEvaluationServiceImpl implements CustomerServiceEvaluationService {
    @Autowired
    private CustomerServiceEvaluationMapper customerServiceEvaluationMapper;

    @Override
    public List<CustomerServiceEvaluationVo> selectAll(long id) {
        return customerServiceEvaluationMapper.selectAll(id);
    }
    @Override
    public List<CustomerServiceEvaluationVo> selectAll2() {
        return customerServiceEvaluationMapper.selectAll2();
    }
    @Override
    public int deleteByPrimaryKey(Long id) {
        return customerServiceEvaluationMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(CustomerServiceEvaluation record) {
        return customerServiceEvaluationMapper.insert(record);
    }

    @Override
    public int insertSelective(CustomerServiceEvaluation record) {
        return customerServiceEvaluationMapper.insertSelective(record);
    }

    @Override
    public CustomerServiceEvaluation selectByPrimaryKey(Long id) {
        return customerServiceEvaluationMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(CustomerServiceEvaluation record) {
        return customerServiceEvaluationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(CustomerServiceEvaluation record) {
        return customerServiceEvaluationMapper.updateByPrimaryKey(record);
    }
}
